﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_OnLineStudy_LearnStatistics : DLL.ShowLayer.BaseView
{
	private DLL.TrainingPerson.View clsTrainingPersonView;

	public Admin_OnLineStudy_LearnStatistics()
		: base("idTotal")
	{
		clsTrainingPersonView = new DLL.TrainingPerson.View(Page);

		clsTrainingPersonView.bQueryFilter = false;

		clsView = clsTrainingPersonView;

		AddTableColumn(new TonyNet4V1.Structs.TableShowColumn("培训班", "TrainingName"));
		AddTableColumn(new TonyNet4V1.Structs.TableShowColumn("培训开始日期", "TrainingStartDate"));
		AddTableColumn(new TonyNet4V1.Structs.TableShowColumn("培训结束日期", "TrainingEndDate"));
		AddTableColumn(new TonyNet4V1.Structs.TableShowColumn("工号", "JobNumber"));
		AddTableColumn(new TonyNet4V1.Structs.TableShowColumn("姓名", "PersonName"));
		AddTableColumn(new TonyNet4V1.Structs.TableShowColumn("单位", "PersonDepartmentName"));
		AddTableColumn(new TonyNet4V1.Structs.TableShowColumn("总时间", "MinuteName"));

		lBtnQueryAll.Visible = false;
		lBtnShowAdd.Visible = false;
		lBtnShowQuery.Visible = false;
		//lBtnDelete.Visible = false;
		//lBtnEdit.Visible = false;
		tfOperation.Visible = false;
	}

	protected void Page_Load(object sender, EventArgs e)
	{

	}

	protected override void BindGridViewNoQuery(GridView gv)
	{
		//base.BindGridViewNoQuery(gv);
		clsTrainingPersonView.ShowOnLearnerLearnInfo(gv);
	}
}